import Code from "./Code";

export const CodeMirrorPlugin = {
  type: 'codemirror',
  shortcuts: {
    char: '```',
    type: 'codemirror',
    render: ({attributes, children}) => {
      return <Code className={"code"} {...attributes}>{children}</Code>;
    },
  },
};
